package com.shuang.pojo;

import java.util.Date;

public class DbGoods {

	private Long gId;

    private String gTitle;

    private String gSellPoint;

    private String gMainImage;

    private Long cId;
    
    private Long gnum;

    private Short gStatus;

    private Date gAddTime;

    private Date gUpdateTime;

    private Long gPrice;

    private String gBarcode;

    public Long getgId() {
        return gId;
    }

    public void setgId(Long gId) {
        this.gId = gId;
    }

    public String getgTitle() {
        return gTitle;
    }

    public void setgTitle(String gTitle) {
        this.gTitle = gTitle == null ? null : gTitle.trim();
    }

    public String getgSellPoint() {
        return gSellPoint;
    }

    public void setgSellPoint(String gSellPoint) {
        this.gSellPoint = gSellPoint == null ? null : gSellPoint.trim();
    }

    public String getgMainImage() {
        return gMainImage;
    }

    public void setgMainImage(String gMainImage) {
        this.gMainImage = gMainImage == null ? null : gMainImage.trim();
    }

    public Long getcId() {
        return cId;
    }

    public void setcId(Long cId) {
        this.cId = cId;
    }

    public Long getGnum() {
        return gnum;
    }

    public void setGnum(Long gnum) {
        this.gnum = gnum;
    }

    public Short getgStatus() {
        return gStatus;
    }

    public void setgStatus(Short gStatus) {
        this.gStatus = gStatus;
    }

    public Date getgAddTime() {
        return gAddTime;
    }

    public void setgAddTime(Date gAddTime) {
        this.gAddTime = gAddTime;
    }

    public Date getgUpdateTime() {
        return gUpdateTime;
    }

    public void setgUpdateTime(Date gUpdateTime) {
        this.gUpdateTime = gUpdateTime;
    }

    public Long getgPrice() {
        return gPrice ;
    }

    public void setgPrice(Long gPrice) {
        this.gPrice =gPrice;
    }

    public String getgBarcode() {
        return gBarcode;
    }

    public void setgBarcode(String gBarcode) {
        this.gBarcode = gBarcode == null ? null : gBarcode.trim();
    }

	@Override
	public String toString() {
		return "DbGoods [gId=" + gId + ", gTitle=" + gTitle + ", gSellPoint="
				+ gSellPoint + ", gMainImage=" + gMainImage + ", cId=" + cId
				+ ", gnum=" + gnum + ", gStatus=" + gStatus + ", gAddTime="
				+ gAddTime + ", gUpdateTime=" + gUpdateTime + ", gPrice="
				+ gPrice + ", gBarcode=" + gBarcode + "]";
	}
    
}